import React, { Component } from 'react';
import Info from './Info';
import { Link, Route } from 'react-router-dom';

export default class Message extends Component {
    render() {
        return (
            <div>
                <ul>
                    <li>
                        {/*  <a href="/message1" message001>Message001</a>&nbsp;&nbsp; */}
                        <Link to='/home/message/info'>Message001</Link>
                    </li>
                    <li>
                        {/*  <a href="/message1" message001>Message002</a>&nbsp;&nbsp; */}
                        <Link to='/home/message/info'>Message002</Link>
                    </li>
                    <li>
                        {/*  <a href="/message1" message001>Message002</a>&nbsp;&nbsp; */}
                        <Link to='/home/message/info'>Message003</Link>
                    </li>
                </ul>
                <Route path='/home/message/info' component={Info} />
            </div>
        )
    }
}
